package com.cg.asm.license.holder;

import com.cg.asm.license.verify.LicenseVerify;

import java.io.InputStream;

public class LicenseVerifyHolder {
    private static LicenseVerify licenseVerify;
    private LicenseVerifyHolder(){}
    public static synchronized LicenseVerify getLicenseVerify(InputStream in){
        if(licenseVerify == null){
            licenseVerify = new LicenseVerify(in);
        }
        return licenseVerify;
    }
}
